package io.aircraft.modules.wms.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


/**
 *
 * @author cycle gengruyi01@163.com
 * @since 1.0.0 2022-10-16
 */
@Data
public class PurchaseDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long purchaseId;

	@ApiModelProperty(value = "订单编号")
	private String purchaseNo;

	@ApiModelProperty(value = "订单类型")
	private String purchaseType;

	@ApiModelProperty(value = "来源系统")
	private String purchaseSystem;

	@ApiModelProperty(value = "商品编号")
	private String spuNo;
	private String lotNo;
	@ApiModelProperty(value = "需求量")
	private BigDecimal amount;
	@ApiModelProperty(value = "所属站台")
	private String stationNo;
	@ApiModelProperty(value = "订单状态")
	private Integer purchaseSt;

	@ApiModelProperty(value = "创建用户")
	private Long creator;

	@ApiModelProperty(value = "创建日期")
	private Date createDate;

	@ApiModelProperty(value = "更新用户")
	private Long updater;

	@ApiModelProperty(value = "更新日期")
	private Date updateDate;

	@ApiModelProperty(value = "备注")
	private String comments;

	@ApiModelProperty(value = "订单明细")
	private List<PurchaseDetailDTO> purchaseDetailList;

	/*创建用户与更新用户的编号(代替id在界面中更友好的显示)*/
	private String creatorName;
	private String updaterName;
}